
/**
** \file       exec_input.c
**
** \brief      this function execute input rule
**
** \author     Ben M'rad Hanna, Laterem Hamza, Boillot Ulysse, De Olivera
**             Guillaume and Nguyen Viet Dung
**
** \version    1.0
**
** \date       28 November 2010
**
*/

#include "execution.h"

int     exec_input(s_ast        *node)
{

  if (node != NULL && node->list != NULL)
    return (exec_list(node->list));

  return (1);
}
